package gro.ecorrdata.edata.model;


/**
 * Permission
 */
public class Permission {

    Integer id;
    Integer pid;
    String name;
    String method;
    String note;
    Integer menu;
    Integer status;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return this.id;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMethod() {
        return this.method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getNote() {
        return this.note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getIsmenu() {
        return this.menu;
    }

    public void setIsmenu(Integer menu) {
        this.menu = menu;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Permission [id=" + id + ", pid="+ pid +" name=" + name + ", method=" + method + ", note="
                + note + ", menu=" + menu + ", status=" + status + "]";
    }   
}